package com.ruoyi.project.system.memberdepartment.service;

import com.ruoyi.project.system.memberdepartment.domain.MemberDepartment;

import java.util.List;

/**
 * 申请捆绑企业部门Service接口
 *
 * @author LCL
 * @date 2022-01-04
 */
public interface IMemberDepartmentService
{
    /**
     * 查询申请捆绑企业部门
     *
     * @param id 申请捆绑企业部门ID
     * @return 申请捆绑企业部门
     */
    public MemberDepartment selectMemberDepartmentById(String id);

    /**
     * 查询申请捆绑企业部门列表
     *
     * @param memberDepartment 申请捆绑企业部门
     * @return 申请捆绑企业部门集合
     */
    public List<MemberDepartment> selectMemberDepartmentList(MemberDepartment memberDepartment);

    /**
     * 新增申请捆绑企业部门
     *
     * @param memberDepartment 申请捆绑企业部门
     * @return 结果
     */
    public int insertMemberDepartment(MemberDepartment memberDepartment);

    /**
     * 修改申请捆绑企业部门
     *
     * @param memberDepartment 申请捆绑企业部门
     * @return 结果
     */
    public int updateMemberDepartment(MemberDepartment memberDepartment);

    /**
     * 批量删除申请捆绑企业部门
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteMemberDepartmentByIds(String ids);

    /**
     * 删除申请捆绑企业部门信息
     *
     * @param id 申请捆绑企业部门ID
     * @return 结果
     */
    public int deleteMemberDepartmentById(String id);

    public List<MemberDepartment> queryAll();
}
